import 'package:scoped_model/scoped_model.dart';

class PDAModel extends Model {
  int _count = 0;
  List warehouseList = [];
  get count => _count;

  void increment() {
    _count++;
    notifyListeners();
  }

  void saveWarehouseList(List newList) {
    warehouseList = newList;
    notifyListeners();
  }

  static PDAModel of(context) => ScopedModel.of<PDAModel>(context);
}
